// 降序: desc
// 升序: asc
export default function paginationData() {
  const total = ref<number>(0);
  const paginationQuery = reactive<PageQuery>({
    pageNo: 1,
    pageSize: 10,
  });

  function changeLimit() {
    paginationQuery.pageNo = 1;
  }

  return {
    total,
    paginationQuery,
    changeLimit,
  };
}
